package com.qs.home.ui.activity;

import android.os.Bundle;
import android.view.View;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.qs.base.base.BaseMyActivity;
import com.qs.base.router.RouterActivityPath;
import com.qs.home.BR;
import com.qs.home.R;
import com.qs.home.databinding.HomeQrGenerateActivityBinding;
import com.qs.home.ui.VM.QRResultViewModel;

/**
* 二维码生成
* @Author ltzz
* @Date 2019/8/23
*/
@Route(path = RouterActivityPath.Home.QR_GENERATE_ACTIVITY)
public class QRGenerateActivity extends BaseMyActivity<HomeQrGenerateActivityBinding, QRResultViewModel> {
    @Override
    protected boolean statusBarDarkFont() {
        return true;
    }

    @Override
    protected View titleLayout() {
        return null;
    }

    @Override
    public int initContentView(Bundle savedInstanceState) {
        return R.layout.home_qr_generate_activity;
    }

    @Override
    public int initVariableId() {
        return BR.viewModel;
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        binding.head.setTitleLeftText("二维码生成");
        binding.head.setAutoFinish(this);
    }
}
